import React from "react";
import { connect } from "dva";
import { withRouter, Link } from "dva/router";
import styles from "../style/app.css";

function App({ children }) {
  return (
    <div className={styles.normal}>
      <Link to="/home">去home</Link>
      {children}
    </div>
  );
}

App.propTypes = {};

export default withRouter(connect()(App));
